home *** CD-ROM | disk | FTP | other *** search
/ Zoom 2 / Zoom - Release 2 (1996)(Active Software)[!].iso / programming / amos / amossible / structures / wait.amos / wait.amosSourceCode
Encoding:
AMOS Source Code  |  1980-05-17  |  868 b   |  15 lines

  1. '**********************SIT AND STAY-By Mark Wickson*************************** 
  2. Rem Here is an example of the "Wait" command used very simply-In larger
  3. Rem programs you hardly ever see `wait's used because the programmers have 
  4. Rem hard enough job making things move fast enough-But in smaller programs,
  5. Rem the "Wait" command has its uses. 
  6. Rem What wait does is exactly that-It makes AMOS wait for whatever time  
  7. Rem value you want-This time is written after the command and is measured
  8. Rem in 50th's of a second-So Wait 50 means wait 1 second.
  9. Rem "Wait" makes AMOS stop for the specified time,so any constant things you 
  10. Rem have going (Like tests for joysticks,drawing operations and many other 
  11. Rem things)will stop until the specified time is over(Except things like 
  12. Rem Amal and music). 
  13. Print "Lets just sit here for a while..."
  14. Wait 50
  15. Print "No..Lets go!"